package com.feri.fs.api.service;

import common.bo.UserProjectBo;
import common.vo.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @ClassName UserPorjectService
 * @Description TODO
 * @Author xing
 * @Date 2021/11/10 09:55
 * @Version 1.0
 */
@FeignClient(value = "FengStartProjectProvider")
public interface UserProjectService {
    //新增
    @PostMapping("/provider/userproject/createsrc")
    R save(@RequestBody UserProjectBo entity);
    //分页查询
    @GetMapping("/provider/userproject/page")
    R queryPage(@RequestParam int page, @RequestParam int size);
    //查询详情
    @GetMapping("/provider/userproject/srcdetail")
    R detail(@RequestParam int id);
}
